package cn.emove.modular.system.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 工单表
 */
@TableName("emove_meter_reading")
@Data
public class MeterReading implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Integer id;

    @TableField("data_sourse")
    private String dataSourse;

    @TableField("contract_code")
    private String contractCode;

    @TableField("contract_start_date")
    private String contractStartDate;

    @TableField("contract_end_date")
    private String contractEndDate;

    @TableField("shop_id")
    private String shopId;

    @TableField("shop_name")
    private String shopName;

    @TableField("shop_no")
    private String shopNo;

    @TableField("shop_adr")
    private String shopAdr;

    @TableField("meter_no")
    private String meterNo;

    @TableField("meter_type")
    private Integer meterType;

    @TableField("meter_reding_month")
    private String meterRedingMonth;

    @TableField("start_mum")
    private String startMum;

    @TableField("end_mum")
    private String endMum;

    @TableField("current_mum")
    private String currentMum;

    @TableField("avg_mum")
    private String avgMum;

    @TableField("times_rate")
    private String timesRate;

    @TableField("unit_price")
    private String unitPrice;

    @TableField("totle_price")
    private String totlePrice;

    @TableField("audit_status")
    private String auditStatus;

    @TableField("audit_time")
    private String auditTime;

    @TableField("audit_content")
    private String auditContent;

    @TableField("throw_time")
    private String throwTime;

    @TableField("receivables_number")
    private String receivablesNumber;

    @TableField("remark")
    private String remark;

    @TableField("status")
    private String status;

    @TableField("discount")
    private String discount;

    @TableField("float_adjust")
    private String floatAdjust;


    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private String createTime;
    /**
     * 创建人
     */
    @TableField(value = "CREATE_USER", fill = FieldFill.INSERT)
    private String createUser;
    /**
     * 更新时间
     */
    @TableField(value = "UPDATE_TIME", fill = FieldFill.UPDATE)
    private Date updateTime;
    /**
     * 更新人
     */
    @TableField(value = "UPDATE_USER", fill = FieldFill.UPDATE)
    private String updateUser;
}
